 <%@taglib prefix="s" uri="/struts-tags" %>
 <%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>北大青鸟办公自动化管理系统</title>
		<link href="css/style.css" rel="stylesheet" type="text/css" />
		
		<%if(request.getAttribute("information")!=null){%>
			<script>
 				alert("<%=request.getAttribute("information")%>"); 
 			</script>
		<%} %>
		<script>
			function setit()
			{
				document.forms[0].submit();
			}
		</script>
	</head>
	
	<body>
		<div class="top">
			<div class="global-width">
				<img src="Images/logo.gif" class="logo" />
			</div>
		</div>
		<div class="status">
			<div class="global-width">
				<%if(session.getAttribute("isLogin")!=null){%>
				<%=session.getAttribute("isLogin")%><%
			}else{%>
			你好！请先<a href="Login.jsp">登录</a>！
			<%	
			}
			%>	欢迎访问青鸟办公管理系统！&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="logoutUser.action" onclick="location.href='loginOut.action'";>注销</a>
			</div>
		</div>
		<form id="myForm" name="myForm" action="userInfo!editData.action" method="post">
		<input type="hidden" name="u.id" value="26"/>
		<input type="hidden" name="u.sex" value="2" id="u_sex"/>
		<input type="hidden" name="u.supper" value="0" id="u_supper"/>
		<div class="main">
			<div class="global-width">
				
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>北大青鸟办公自动化管理系统</title>
		<link href="css/style.css" rel="stylesheet" type="text/css" />
	</head>
  
  <body>
    <div class="nav" id="nav">
					<div class="t"></div>
					<dl>
							<dt onclick="this.parentNode.className=this.parentNode.className=='open'?'':'open';">信息管理 
						</dt>
						<dd>
							<a href="userSelect.action" target="_self">个人信息</a>
						</dd>
					</dl>
					<dl>
						<dt
							onclick="this.parentNode.className=this.parentNode.className=='open'?'':'open';">
							邮件管理
						</dt>
						<dd>
							<a href="mail/写邮件.html" target="_self">写邮件</a>
						</dd>
						<dd>
							<a href="select.action" target="_self">收邮件</a>
						</dd>
						<dd>
							<a href="mail/垃圾邮件列表.html" target="_self">垃圾邮件</a>
						</dd>
					</dl>
					<dl>
						<dt
							onclick="this.parentNode.className=this.parentNode.className=='open'?'':'open';">
							考勤管理
						</dt>
						<dd>
							<a href="vacation/休假信息列表.html" target="_self">休假</a>
						</dd>
					</dl>
					
					<dl >
					
						<dt
							onclick="this.parentNode.className=this.parentNode.className=='open'?'':'open';">
							权限管理
						</dt>
						<dd>
							<a href="userInfo/个人账户-编辑.html" target="_self">个人账户</a>
						</dd>
						
					</dl>
				</div>
  </body>
</html>
 </form>
		
		<div class="action">
			<div class="t">
				个人信息
			</div>
			<div class="pages">
			<form action="userUpdate" method="post">
			<table width="90%" border="0" cellspacing="0" cellpadding="0">
				<tr >
					<td align="right" width="30%">昵称：</td><td  align="left"><input type="text" name="user.username" value="<%=request.getAttribute("userName")%>" /></td>
				</tr>
				<tr >
					<td align="right" width="30%">年龄：</td><td  align="left"><input type="text" name="user.age" value="<%=request.getAttribute("age")%>"/></td>
				</tr>
				<tr >
					<td align="right" width="30%">性别：</td><td  align="left">
						<input type="radio" name="user.sex" value="男" <% if(request.getAttribute("sex")=="男"){%> checked="checked" <%}%>/>男
   						<input type="radio" name="user.sex" value="女" <% if(request.getAttribute("sex")=="女"){%> checked="checked" <%}%>/>女
					</td>
				</tr>
				<tr >
					<td align="right" width="30%">手机：</td><td  align="left"><input type="text" name="user.phone" value="<%=request.getAttribute("phone")%>" /></td>
				</tr>
				<tr >
					<td align="right" width="30%">地址：</td><td  align="left"><input type="text" name="user.address" value="<%=request.getAttribute("address")%>" /></td>
				</tr>		
				<tr >
					<td align="center" colspan="2">
					<br/>
					<input type="submit" value="更改数据" />
    				<input type="reset" value="重置" /></td>
				</tr>
			</table>
			</form>
			</div>
		</div>
	
			</div>
		</div>
		<div class="copyright">
			Copyright &nbsp; &copy; &nbsp; 北大青鸟
		</div>
	</body>
</html>

